/*
    Entry point for game.
*/
#include "Engine.h"

#include "Screens/MainMenu.h"
#include "Fps.h"
#include "Console.h"

int main(int argc, char *argv[])
{
    if (!Engine::Instance().init())
        return -1;

    // Add initial screens
    MainMenu menu;
    Engine::Instance().addScreen2D(&menu, 0);
    Fps fps;
    Engine::Instance().addScreen2D(&fps, 1); // Add at a higher priority
    Console console;
    Engine::Instance().addScreen2D(&console, 1); // Add at a higher priority

    return Engine::Instance().run();
}
